package net.lzzy.practicesapi1.constants;

/**
 * @author lyz
 */
public final class ApiConstant {//加final不能被继承
    private ApiConstant(){}
    public static final String ROUTE_AUTH_ROOT="api/v1";
    public static final String ROUTE_AUTH_LOGIN="/login";
    public static final String API_PRODUCES="application/json";
    public static final String ROUTE_AUTH_EXISTS= "/exists/{user}";
    public static final String ROUTE_AUTH_REGISTER="/register";
    public static final String ROUTE_UPLOAD="/upload";
    public static final String ROUTE_USER_ROOT = "api/v1/admin";
    public static final String ROUTE_USER_ALL = "/";
    public static final String ROUTE_USER_PAGE = "/page/";
    public static final String ROUTE_USER_SEARCH= "/search/{kw}";
    public static final String ROUTE_USER_APPLY = "/apply";
    public static final String ROUTE_USER_APPROVE = "/approve";
    public static final String ROUTE_USER_DECLINE = "/decline";
    public static final String ROUTE_USER_BAN =  "/ban";
    public  static final String ROUTE_COURSE_ROOT = "api/v1/course";
    public  static  final String ROUTE_COURSE_ALL = "/";
    public  static  final String ROUTE_COURSE_PAGE = "/page";
    public  static  final String ROUTE_COURSE_OPEN = "/open";

    public  static  final String ROUTE_COURSE_OPEN_PAGE = "/open/page";
    public  static  final String ROUTE_COURSE_TEACHER = "/teacher";
    public  static  final String ROUTE_COURSE_STUDENT = "/student";
    public  static  final String ROUTE_COURSE_ADD = "/add";
    public  static  final String ROUTE_COURSE_PUT = "/put/{id}";
    public  static  final String ROUTE_COURSE_OPEN_CLOSE = "/oc";
    public  static  final String ROUTE_COURSE_DELETE = "/de";
};
